﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class Program
    {
        static void Main(string[] args)
        {
            ALK alk = new ALK
            {
                Heroname = "埃洛克",
                Nickname = "aji",
                Heroinfo = "010100110010",
                Attack = 70,
                Defence = 60,
                Speed = 40
            };
            TL tl = new TL
            {
                Heroname = "泰拉",
                Nickname = "aji",
                Heroinfo = "0101041000110010",
                Attack = 90,
                Defence = 30,
                Speed = 60
            };

            Console.WriteLine("{0}\n{1}\n{2}\n{3}\n{4}\n{5}", alk.Heroname, alk.Nickname, alk.Heroinfo, alk.Attack, alk.Defence, alk.Speed);
            alk.suishidaji();
            alk.leiyanmaogou();
            alk.zhandoupaoxiao();

            Console.WriteLine("{0}\n{1}\n{2}\n{3}\n{4}\n{5}", tl.Heroname, tl.Nickname, tl.Heroinfo, tl.Attack, tl.Defence, tl.Speed);
            tl.julangchongji();
            tl.yuansutuji();
            tl.fuchoushalu();
        }
    }
}
